package com.sc.nft.entity.dto;

import io.swagger.annotations.ApiModelProperty;
import jdk.nashorn.internal.ir.annotations.Ignore;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.Null;

@Data
public class UserCityServerCentreDTO {

    @ApiModelProperty("省")
    @NotBlank(message = "省不能为空")
    private String province;

    @ApiModelProperty("市")
    @NotBlank(message = "市不能为空")
    private String city;

    @ApiModelProperty("区")
    @NotBlank(message = "区不能为空")
    private String district;

    @ApiModelProperty("用户id")
    @Ignore
    private Long userId;

    @ApiModelProperty("用户手机号")
    @NotBlank(message = "用户手机号不能为空")
    private String userTel;

}
